home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Graphics / Utilities / POVRAY / POVRAY II / POV-Ray / POV-Ray.rsrc / TEXT_306_cone.txt < prev    next >
Text File  |  1994-02-10  |  355b  |  13 lines

  1. // clipped conical shape
  2. // cone { <END1>, RADIUS1, <END2>, RADIUS2 [open] }
  3. // Where <END1> and <END2> are vectors defining the x,y,z
  4. // coordinates of the center of each end of the cone
  5. // and RADIUS1 and RADIUS2 are float values for the radii
  6. // of those ends.  open, if present, cone is hollow, else capped
  7. cone
  8. {
  9.   1*y,  0.0,
  10.   -1*y, 1.0
  11.   // open
  12. }
  13.